CREATE NET PLAYER

This command will create another player within the net game.

  Syntax
CREATE NET PLAYER Playername
Return Integer=CREATE NET PLAYER(Playername)
  Parameters
Playername
String
The Playername is the given name of the player for the net game

  Returns

You can optionally return the Player Number at the moment of creation

  Description

This player will be an additional player to the default player created when you created or joined the game. You can use this command if you wished to populate your net game with allies or enemies to be treated like regular players. The Playername is the given name of the player for the net game. You can optionally return the Player Number at the moment of creation.

  Example Code
rem Create an EXTRA Player (used rarely)
print "EXTRA PLAYER CREATION"
PlayerNumber = create net player("NPC Player")
perform checklist for net players
Print "PLAYERS (At Time Of Call)"
for c=1 to checklist quantity()
print c;". ";checklist string$(c);" ID:";checklist value a(c);" UNIQUE:";checklist value b(c);" ";
if checklist value c(c)=1 then print "(me) ";
if checklist value d(c)=1 then print "(host) ";
next c
print "EXTRA PLAYER DESTRUCTION"
free net player PlayerNumber
  See also

MULTIPLAYER Commands Menu
Index